<html>
<head><meta charset="utf-8"><title>Cargo&#x27;s GitHub tags &amp; releases · t-cargo · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/index.html">t-cargo</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Cargo&#x27;s.20GitHub.20tags.20.26.20releases.html">Cargo&#x27;s GitHub tags &amp; releases</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="214809774"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Cargo%27s%20GitHub%20tags%20%26%20releases/near/214809774" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> XAMPPRocky <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Cargo&#x27;s.20GitHub.20tags.20.26.20releases.html#214809774">(Oct 28 2020 at 09:06)</a>:</h4>
<p>Hey everyone, I was wondering if there's a particular reason why cargo's tag on GitHub is <code>0.x.y</code> instead of <code>1.x.y</code>, and if there was interest in trying to sync this to match with the rust repo? It would also be nice to sync up the GitHub releases. <span class="user-mention" data-user-id="121055">@Pietro Albini</span> has already written an automation for it in triagebot, so all that's needed for that is adding support for cargo's changelog format.</p>
<ul>
<li>Cargo's tags: <a href="https://github.com/rust-lang/cargo/tags">https://github.com/rust-lang/cargo/tags</a></li>
<li>Triagebot releases: <a href="https://github.com/rust-lang/triagebot/wiki/GitHub-Releases">https://github.com/rust-lang/triagebot/wiki/GitHub-Releases</a></li>
</ul>



<a name="214816282"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Cargo%27s%20GitHub%20tags%20%26%20releases/near/214816282" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Cargo&#x27;s.20GitHub.20tags.20.26.20releases.html#214816282">(Oct 28 2020 at 10:15)</a>:</h4>
<p><span class="user-mention" data-user-id="219696">@XAMPPRocky</span> synchronizing would be interesting, but cargo has <code>0.x.y</code> because that's its version number</p>



<a name="214816377"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Cargo%27s%20GitHub%20tags%20%26%20releases/near/214816377" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> XAMPPRocky <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Cargo&#x27;s.20GitHub.20tags.20.26.20releases.html#214816377">(Oct 28 2020 at 10:16)</a>:</h4>
<p><span class="user-mention" data-user-id="121055">@Pietro Albini</span> Not anymore, I remember that being the case but for example this is the output of <code>cargo -vV</code> on nightly.</p>
<div class="codehilite"><pre><span></span><code>cargo 1.49.0-nightly (79b397d72 2020-10-15)
release: 1.49.0
commit-hash: 79b397d72c557eb6444a2ba0dc00a211a226a35a
commit-date: 2020-10-15
</code></pre></div>



<a name="214816432"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Cargo%27s%20GitHub%20tags%20%26%20releases/near/214816432" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Cargo&#x27;s.20GitHub.20tags.20.26.20releases.html#214816432">(Oct 28 2020 at 10:17)</a>:</h4>
<p><a href="https://github.com/rust-lang/cargo/blob/358ee548c792f730faf14963066f9c742f658f48/Cargo.toml#L3">https://github.com/rust-lang/cargo/blob/358ee548c792f730faf14963066f9c742f658f48/Cargo.toml#L3</a></p>



<a name="214816490"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Cargo%27s%20GitHub%20tags%20%26%20releases/near/214816490" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> XAMPPRocky <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Cargo&#x27;s.20GitHub.20tags.20.26.20releases.html#214816490">(Oct 28 2020 at 10:17)</a>:</h4>
<p>Huh</p>



<a name="214816523"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Cargo%27s%20GitHub%20tags%20%26%20releases/near/214816523" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Cargo&#x27;s.20GitHub.20tags.20.26.20releases.html#214816523">(Oct 28 2020 at 10:18)</a>:</h4>
<p>my understanding of the cargo versioning situation is "mess"</p>



<a name="214823179"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Cargo%27s%20GitHub%20tags%20%26%20releases/near/214823179" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Steven Fackler <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Cargo&#x27;s.20GitHub.20tags.20.26.20releases.html#214823179">(Oct 28 2020 at 11:25)</a>:</h4>
<p>cargo-the-library is 0.x since it makes API breaking changes on every release, but cargo-the-binary is a stable interface with a version that matches rustc's</p>



<a name="214825412"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Cargo%27s%20GitHub%20tags%20%26%20releases/near/214825412" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> XAMPPRocky <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Cargo&#x27;s.20GitHub.20tags.20.26.20releases.html#214825412">(Oct 28 2020 at 11:51)</a>:</h4>
<p>Sure that makes sense, though it's a bit confusing that the repository is tracking the library version over the binary. Given the changelog itself tracks the binary version. <a href="https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md">https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md</a></p>



<a name="214864892"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Cargo%27s%20GitHub%20tags%20%26%20releases/near/214864892" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Cargo&#x27;s.20GitHub.20tags.20.26.20releases.html#214864892">(Oct 28 2020 at 16:48)</a>:</h4>
<p>An option would be to create both tags. It's up to the release team, since they're the ones who do it. It definitely sounds useful.</p>



<a name="214865198"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Cargo%27s%20GitHub%20tags%20%26%20releases/near/214865198" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Cargo&#x27;s.20GitHub.20tags.20.26.20releases.html#214865198">(Oct 28 2020 at 16:50)</a>:</h4>
<p>Release team (really, Pietro or I) likely doesn't care. Tagging both sounds not horrible -- just one more step really -- so all it would mostly take is an update to <a href="http://forge.rust-lang.org">forge.rust-lang.org</a></p>



<a name="214867191"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Cargo%27s%20GitHub%20tags%20%26%20releases/near/214867191" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Cargo&#x27;s.20GitHub.20tags.20.26.20releases.html#214867191">(Oct 28 2020 at 17:03)</a>:</h4>
<p>I'm not sure how that'd look in the UI</p>



<a name="214867554"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Cargo%27s%20GitHub%20tags%20%26%20releases/near/214867554" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> XAMPPRocky <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Cargo&#x27;s.20GitHub.20tags.20.26.20releases.html#214867554">(Oct 28 2020 at 17:06)</a>:</h4>
<p>I'd like this for relnotes, as releases in GitHub's API have timestamps for created, published, and updated in their response, where as with tags you have to a send additional request to get the commit date, and there's no ordering to tags.</p>



<a name="214867702"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Cargo%27s%20GitHub%20tags%20%26%20releases/near/214867702" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> XAMPPRocky <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Cargo&#x27;s.20GitHub.20tags.20.26.20releases.html#214867702">(Oct 28 2020 at 17:07)</a>:</h4>
<p><span class="user-mention" data-user-id="121055">@Pietro Albini</span> I mean both could be tagged, but only one is the "release" tag that gets an actual release. So you would only see the other if you look at tags specifically</p>



<a name="214889773"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/Cargo%27s%20GitHub%20tags%20%26%20releases/near/214889773" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/Cargo&#x27;s.20GitHub.20tags.20.26.20releases.html#214889773">(Oct 28 2020 at 19:59)</a>:</h4>
<p>We could always have rust-1.x.y tags that specify "what version of Cargo was in rust 1.x.y".</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>